package com.qyl.deguru.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class TimeLimit {

	private Integer id;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date limit_date;
	private Shop shop;
	private Integer is_end;

	public Shop getShop() {
		return shop;
	}
	public void setShop(Shop shop) {
		this.shop = shop;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getLimit_date() {
		return limit_date;
	}
	public void setLimit_date(Date limit_date) {
		this.limit_date = limit_date;
	}

	public Integer getIs_end() {
		return is_end;
	}
	public void setIs_end(Integer is_end) {
		this.is_end = is_end;
	}
	@Override
	public String toString() {
		return "TimeLimit [id=" + id + ", limit_date=" + limit_date + ", shop=" + shop + ", is_end=" + is_end + "]";
	}

	
}
